<div class="navbar navbar-inverse">
	<div class="navbar-inner">
		<a class="brand" href="/">kintai</a>
		<ul class="nav">
			<li {{ 'class="active"' if url == '/' }}><a href="/">Home</a></li>
			<li {{ 'class="active"' if url == '/' }}>
				<li class="dropdown {{ 'active' if url.find('/manage/') == 0 }}">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#">Manage<b class="caret"></b></a>
					<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
						<li {{ 'class="active"' if url == '/manage/productManager' }}><a href="/manage/productManager">Product Manager</a></li>
						<li {{ 'class="active"' if url == '/manage/componentManager' }}><a href="/manage/componentManager">Component Manager</a></li>
					</ul>
				</li>
			</li>
		</ul>

		<ul class="nav pull-right">
			<li>{{ user.nickname() }}</li>
			<li><a href="{{ logout_url }}">Sign Out</a></li>
		</ul>
	</div>
</div>
